WooCommerce\Square\Settings C

Total Complexity 103
Dependencies 5
Dependents 3
Total lines 990
Lines of code 449
Logical lines of code 195
Comment lines 341
Methods 35
Properties 4

Methods 35

Method Rating Maintainability Complexity Lines of code
init_form_fields()
A
30 6 155
get_form_fields()
A
48 14 30
get_locations()
A
48 13 31
get_access_token()
S
55 7 19
get_refresh_token()
S
55 6 19
update_access_token()
S
55 5 19
generate_import_products_html()
S
55 4 20
update_refresh_token()
S
57 4 17
get_location_id()
S
63 4 10
get_environment()
S
73 4 4
get_system_of_record_name()
S
60 3 14
generate_connect_html()
S
57 2 20
__construct()
S
56 2 19
is_admin_settings_screen()
S
76 3 3
is_inventory_sync_enabled()
S
76 3 3
is_configured()
S
79 2 3
is_system_of_record_disabled()
S
75 2 4
get_sync_interval()
S
70 2 5
init()
S
78 1 4
clear_access_tokens()
S
81 1 3
get_plugin()
S
82 1 3
clear_refresh_tokens()
S
81 1 3
is_sandbox_setting_enabled()
S
80 1 3
get_enable_sandbox()
S
80 1 3
get_refresh_tokens()
S
79 1 3
get_access_tokens()
S
79 1 3
clear_location_id()
S
72 1 5
is_connected()
S
80 1 3
is_system_of_record_woocommerce()
S
79 1 3
is_product_sync_enabled()
S
80 1 3
is_system_of_record_square()
S
79 1 3
hide_missing_square_products()
S
79 1 3
is_debug_enabled()
S
79 1 3
is_sandbox()
S
80 1 3
get_system_of_record()
S
80 1 3